package com.csun.cmny.provider.model.dto.watch;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-24 09:20
 * @Description: the class bind dmc watch oldman dto
 */
@Data
@ApiModel(value = "绑定孝心手环 - 老人Dto")
public class BindDmcWatchOldmanDto implements Serializable {

    private static final long serialVersionUID = -2472935328383653938L;

    /**
     * 设备Id
     */
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    /**
     * 老人Id
     */
    @NotNull(message = "{oldman.id.null}")
    private Integer oldmanId;

    /**
     * 老人名称
     */
    @NotNull(message = "{oldman.name.null}")
    private String oldmanName;

}
